<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/includePage/commonInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>分类信息</title>
		<%@ include file="/common/includePage/commonHeader.jsp"%>
	</head>
	<body>
		<a href="<%=contextPath%>/category/CategoryAction.categoryEdit.action?categoryForm.id=${categoryForm.category.PK.id}"><font
			color="000000">编辑</font> </a>
		<table>
			<tr>
				<td>
					名
				</td>
				<td>
					值
				</td>
			</tr>
			<tr>
				<td>
					类别名称
				</td>
				<td>
					<c:out value="${categoryForm.category.name}" />
				</td>
			</tr>
			<tr>
				<td>
					创建日期
				</td>
				<td>
					<c:out value="${categoryForm.category.createDate}" />
				</td>
			</tr>
			<tr>
				<td>
					最后修改日期
				</td>
				<td>
					<c:out value="${categoryForm.category.modifyDate}" />
				</td>
			</tr>
			<tr>
				<td>
					描述
				</td>
				<td>
					${categoryForm.category.description}
				</td>
			</tr>
			<tr>
				<td>
					上级分类
				</td>
				<td>
					<c:forEach items="${categoryForm.parents}" var="category">
						<c:out value="${category.name}" />&nbsp;
					</c:forEach>
				</td>
			</tr>
			<tr>
				<td>
					所有下级分类
				</td>
				<td>
					<c:forEach items="${categoryForm.childs}" var="category">
						<c:out value="${category.name}" />&nbsp;
					</c:forEach>
				</td>
			</tr>
		</table>
	</body>
</html>
